﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FileUpload.ascx.cs" Inherits="Controls_FileUpload" %>
<input id="txt<%=this.ClientID%>" type="text" onfocus="this.blur();" style="width:<%=this.Width.ToString()%>" />
<div class="divFile">
    <asp:FileUpload runat="server" ID="txtFile" onchange="selectFile(this);" /></div>
<script type="text/javascript">
    function selectFile(obj) {
        document.getElementById('txt<%=this.ClientID%>').value = obj.value;
    }
</script>
